﻿using SCM.Common;
using SCM.Model.DBEntity;
using System.Collections.Generic;

namespace SCM.Servie.IBusiness
{
    /// <summary>
    /// 企业服务接口
    /// </summary>
    public interface ICompanyService
    {
        string Add(T_Company model);

        bool Delete(List<string> ids);

        bool Update(T_Company model);

        bool UpdateValidDate(T_Company model);

        T_Company GetById(string id);

        T_Company Get(string companyName,  string identityNumber, string telPhone,string email);

        List<T_Company> GetList(string identityNumber);

        PageData<T_Company> Query(string companyName, string shortName, string identityNumber, string telPhone, PageInfo page);
    }
}
